#ifndef MOVETOOL_H
#define MOVETOOL_H

#include "Tool.h"
#include "EditWidget.h"

namespace Editor {
    
class MoveTool : public Tool
{
Q_OBJECT

public:
    MoveTool(Editor::EditWidget* widget);
    
    void leftButtonPressed();
    void leftButtonReleased();
    
    void rightButtonPressed();
    void rightButtonReleased();
    
    void mouseMove(QPointF);
    
private:
    Editor::VertexItem* movingItem;
    Editor::EditWidget* widget;
    bool isMoving;
};

}

#endif // MOVETOOL_H
